<?php

declare (strict_types = 1);

namespace app\adminapi\validate;

use think\Validate;

class VersionValidate extends Validate
{
    protected $rule = [
        'version'  => 'require',
        'content'  => 'require',
        'download_url'  => 'require',
    ];

    protected $message = [
        'version.require' => '请填写版本号',
        'content.require' => '请填写升级内容',
        'download_url.max' => '请上传更新包'
    ];

}